<?php
/**
 * Created by PhpStorm.
 * User: iceberg
 * Date: 2018-06-03
 * Time: 13:34
 */

namespace app\admin\validate;


use think\Validate;

class Pic extends Validate
{
    protected $rule = [
//        'pic_info|照片说明'     =>  'require',
//        'picture|照片'         =>  'require',
        'admin_id|填写人'      =>  'require',
        '__token__'           =>  'token',
    ];

    protected $message = [
//        'pic_info.require'      =>  '照片说明必须',
//        'picture.require'       =>  '照片必须',
        'admin_id.require'      =>  '填写人必须',
        '__token__'             =>  '不能重复提交',
    ];
}